package com.jied.duodian.service;

import com.jied.duodian.entity.DdProduct;
import com.jied.duodian.entity.Dutity.Dupaixu;
import com.jied.duodian.entity.Dutity.Page;

import java.util.List;

/**
 * Description:
 *
 * @author LiJie
 * @date Created on 2020/10/29
 * WWW https://github.com/j6l
 */
public interface DdProductService {

    DdProduct getProductByid(Integer id);

    Integer updataProduct(DdProduct product);

    Integer addProduct(DdProduct ddProduct);

    Page getallpageList(DdProduct product, Page page, Integer mc);

    Page getallpageListBysh(DdProduct product, Page page);

    Page getpaixu(Dupaixu dupaixu, Integer page);

    List<DdProduct> getProductByActivity(String lei);

    Integer delProductByid(Integer hh);

    Long getProductCuntDsh();

    Long getProductCuntDsj();
}
